<?php
/**
 * Created by PhpStorm.
 * User: Duyonggao
 * Date: 2017/12/15 0015
 * Time: 上午 10:11
 * @var $this yii\web\View
 */
use yii\web\View;

$controller = Yii::$app->controller;
?>
<?php if($controller->id=='site' && $controller->action->id =='index'):?>
<div class="w-1200">
    <div class="header">
        <div class="logo-box">
            <div class="logo">
                <a href="/"><img src="/img/logo.png" alt="风掠" ></a>
                <?php if(Yii::$app->controller->id=='site' && Yii::$app->controller->action->id=='index'):?>
                    <h1>风掠</h1>
                <?php else:?>
                    <p>风掠</p>
                <?php endif;?>
            </div>
            <div class="txt">
                <p>互联网企业</p>
                <p>一站式服务平台</p>
            </div>
        </div>
    </div>
</div>
<?php else:?>
    <div class="w-1200">
        <div class="header">
            <div class="logo-other">
                <div class="logo">
                    <a href="/"><img src="/img/logo.png" alt="风掠" ></a>
                    <?php if(Yii::$app->controller->id=='site' && Yii::$app->controller->action->id=='index'):?>
                        <h1>风掠</h1>
                    <?php else:?>
                        <p>风掠</p>
                    <?php endif;?>
                </div>
                <?php if(isset($title)):?>
                <div class="title">
                    <h1><?=$title?></h1>
                </div>
                <?php endif;?>
                <div class="menu">
                </div>
            </div>
        </div>
    </div>
<?php endif;?>

